<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
</head>

<body>
    <div id="app">
        {{msg}}
        <ul>
            <li v-for="item,index in list">
                {{item}}----{{index}}
            </li>
        </ul>
    </div>
</body>

<script>
    new Vue({
        el: "#app",
        data: {
            msg: "hello",
            list: [1, 2, 3, 4]

        }

    })
</script>

</html>